Component({
    properties: {
        obj: {
            type: Object,
            value: ""
        }
    },
    data: {},
    methods: {
        cancelyuyue: function(e) {
            var t = this;
            wx.showModal({
                title: "提示",
                content: "确定取消预约吗？",
                success: function(c) {
                    c.confirm ? wx.requestSubscribeMessage({
                        tmplIds: [ "krDVesm-YWEpciijL0QYaTevk5Gv6gGiy9sgV5j_Ezo" ],
                        complete: function(c) {
                            t.triggerEvent("cancelyuyue", e);
                        }
                    }) : c.cancel && console.log("用户点击取消");
                }
            });
        }
    }
});